﻿using StudentEx;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;

namespace StudentTest
{
    
    
    /// <summary>
    ///This is a test class for StudentTest and is intended
    ///to contain all StudentTest Unit Tests
    ///</summary>
    [TestClass()]
    public class StudentTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion




        /// <summary>
        ///A test for Equals
        ///</summary>
        [TestMethod()]
        public void EqualsTest()
        {
            string firstName = "pesho"; // TODO: Initialize to an appropriate value
            string lastName = "petrov"; // TODO: Initialize to an appropriate value
            string sirName = "petrakov"; // TODO: Initialize to an appropriate value
            string address = "sofia"; // TODO: Initialize to an appropriate value
            string phone = "8918312470"; // TODO: Initialize to an appropriate value
            string mail = "asfsad@asfasf.com"; // TODO: Initialize to an appropriate value
            int course = 0; // TODO: Initialize to an appropriate value
            Specialties specialty = Specialties.Economics; // TODO: Initialize to an appropriate value
            Universities university = Universities.NBU; // TODO: Initialize to an appropriate value
            Faculties faculty = Faculties.Humanitarian; // TODO: Initialize to an appropriate value
            string ssn = "asdfsadfasdf"; // TODO: Initialize to an appropriate value
            Student target = new Student(firstName, lastName, sirName, address, phone, mail, course, specialty, university, faculty, ssn); // TODO: Initialize to an appropriate value
            object obj = null; // TODO: Initialize to an appropriate value
            bool expected = false; // TODO: Initialize to an appropriate value
            bool actual;
            actual = target.Equals(obj);
            Assert.AreEqual(expected, actual);
        }

        /// <summary>
        ///A test for Equals
        ///</summary>
        [TestMethod()]
        public void EqualsTest1()
        {
            string firstName = "pesho"; // TODO: Initialize to an appropriate value
            string lastName = "petrov"; // TODO: Initialize to an appropriate value
            string sirName = "petrakov"; // TODO: Initialize to an appropriate value
            string address = "sofia"; // TODO: Initialize to an appropriate value
            string phone = "8918312470"; // TODO: Initialize to an appropriate value
            string mail = "asfsad@asfasf.com"; // TODO: Initialize to an appropriate value
            int course = 0; // TODO: Initialize to an appropriate value
            Specialties specialty = Specialties.Economics; // TODO: Initialize to an appropriate value
            Universities university = Universities.NBU; // TODO: Initialize to an appropriate value
            Faculties faculty = Faculties.Humanitarian; // TODO: Initialize to an appropriate value
            string ssn = "asdfsadfasdf"; // TODO: Initialize to an appropriate value
            Student target = new Student(firstName, lastName, sirName, address, phone, mail, course, specialty, university, faculty, ssn); // TODO: Initialize to an appropriate value
            object obj = target; // TODO: Initialize to an appropriate value
            bool expected = true; // TODO: Initialize to an appropriate value
            bool actual;
            actual = target.Equals(obj);
            Assert.AreEqual(expected, actual);
        }

        /// <summary>
        ///A test for Clone
        ///</summary>
        [TestMethod()]
        public void CloneTest()
        {
            string firstName = "pesho"; // TODO: Initialize to an appropriate value
            string lastName = "petrov"; // TODO: Initialize to an appropriate value
            string sirName = "petrakov"; // TODO: Initialize to an appropriate value
            string address = "sofia"; // TODO: Initialize to an appropriate value
            string phone = "8918312470"; // TODO: Initialize to an appropriate value
            string mail = "asfsad@asfasf.com"; // TODO: Initialize to an appropriate value
            int course = 0; // TODO: Initialize to an appropriate value
            Specialties specialty = Specialties.Economics; // TODO: Initialize to an appropriate value
            Universities university = Universities.NBU; // TODO: Initialize to an appropriate value
            Faculties faculty = Faculties.Humanitarian; // TODO: Initialize to an appropriate value
            string ssn = "asdfsadfasdf"; // TODO: Initialize to an appropriate value
            Student target = new Student(firstName, lastName, sirName, address, phone, mail, course, specialty, university, faculty, ssn); // TODO: Initialize to an appropriate value
            object obj = target.Clone(); // TODO: Initialize to an appropriate value
            bool expected = true; // TODO: Initialize to an appropriate value
            bool actual;
            actual = target.Equals(obj);
            Assert.AreEqual(expected, actual);
        }

        /// <summary>
        ///A test for op_Equality
        ///</summary>
        [TestMethod()]
        public void op_EqualityTest()
        {
            Student first = null; // TODO: Initialize to an appropriate value
            Student second = null; // TODO: Initialize to an appropriate value
            bool expected = true; // TODO: Initialize to an appropriate value
            bool actual;
            actual = (first == second);
            Assert.AreEqual(expected, actual);
        }

        /// <summary>
        ///A test for op_Inequality
        ///</summary>
        [TestMethod()]
        public void op_InequalityTest()
        {
            Student first = null; // TODO: Initialize to an appropriate value
            Student second = null; // TODO: Initialize to an appropriate value
            bool expected = false; // TODO: Initialize to an appropriate value
            bool actual;
            actual = (first != second);
            Assert.AreEqual(expected, actual);
        }

        /// <summary>
        ///A test for op_Equality
        ///</summary>
        [TestMethod()]
        public void op_EqualityTest1()
        {
            string firstName = "pesho"; // TODO: Initialize to an appropriate value
            string lastName = "petrov"; // TODO: Initialize to an appropriate value
            string sirName = "petrakov"; // TODO: Initialize to an appropriate value
            string address = "sofia"; // TODO: Initialize to an appropriate value
            string phone = "8918312470"; // TODO: Initialize to an appropriate value
            string mail = "asfsad@asfasf.com"; // TODO: Initialize to an appropriate value
            int course = 0; // TODO: Initialize to an appropriate value
            Specialties specialty = Specialties.Economics; // TODO: Initialize to an appropriate value
            Universities university = Universities.NBU; // TODO: Initialize to an appropriate value
            Faculties faculty = Faculties.Humanitarian; // TODO: Initialize to an appropriate value
            string ssn = "asdfsadfasdf"; // TODO: Initialize to an appropriate value
            Student target = new Student(firstName, lastName, sirName, address, phone, mail, course, specialty, university, faculty, ssn); // TODO: Initialize to an appropriate value
            Student obj = target.Clone(); // TODO: Initialize to an appropriate value
            bool expected = true; // TODO: Initialize to an appropriate value
            bool actual;
            actual = target == obj;
            Assert.AreEqual(expected, actual);
        }

        /// <summary>
        ///A test for op_Inequality
        ///</summary>
        [TestMethod()]
        public void op_InequalityTest1()
        {
            string firstName = "pesho"; // TODO: Initialize to an appropriate value
            string lastName = "petrov"; // TODO: Initialize to an appropriate value
            string sirName = "petrakov"; // TODO: Initialize to an appropriate value
            string address = "sofia"; // TODO: Initialize to an appropriate value
            string phone = "8918312470"; // TODO: Initialize to an appropriate value
            string mail = "asfsad@asfasf.com"; // TODO: Initialize to an appropriate value
            int course = 0; // TODO: Initialize to an appropriate value
            Specialties specialty = Specialties.Economics; // TODO: Initialize to an appropriate value
            Universities university = Universities.NBU; // TODO: Initialize to an appropriate value
            Faculties faculty = Faculties.Humanitarian; // TODO: Initialize to an appropriate value
            string ssn = "asdfsadfasdf"; // TODO: Initialize to an appropriate value
            Student target = new Student(firstName, lastName, sirName, address, phone, mail, course, specialty, university, faculty, ssn); // TODO: Initialize to an appropriate value
            Student obj = target.Clone(); // TODO: Initialize to an appropriate value
            bool expected = false; // TODO: Initialize to an appropriate value
            bool actual;
            actual = target != obj;
            Assert.AreEqual(expected, actual);
        }
    }
}
